package cn.dbwork.yacht.domain;

import java.io.Serializable;

public class Yacht implements Serializable{

	private Integer id;
	private String name;
	private String color;
	private Integer price;
	private Integer rent;
	private Integer saled;
	private Integer yLevel;
	private String pic;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public Integer getPrice() {
		return price;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}
	public Integer getRent() {
		return rent;
	}
	public void setRent(Integer rent) {
		this.rent = rent;
	}
	public Integer getSaled() {
		return saled;
	}
	public void setSaled(Integer saled) {
		this.saled = saled;
	}
	public Integer getyLevel() {
		return yLevel;
	}
	public void setyLevel(Integer yLevel) {
		this.yLevel = yLevel;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	@Override
	public String toString() {
		return "Yacht [id=" + id + ", name=" + name + ", color=" + color + ", price=" + price + ", rent=" + rent
				+ ", saled=" + saled + ", yLevel=" + yLevel + ", pic=" + pic + "]";
	}
	
	
}
